package com.oxo.gulimall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.oxo.common.utils.PageUtils;
import com.oxo.gulimall.ware.entity.WareInfoEntity;
import com.oxo.gulimall.ware.vo.FareVO;

import java.util.Map;

/**
 * 仓库信息
 *
 * @author oxo
 * @email yuxizhou42@163.com
 * @date 2025-07-09 22:38:07
 */
public interface WareInfoService extends IService<WareInfoEntity> {

//    PageUtils queryPage(Map<String, Object> params);

    /**
     * 分页查询仓库
     */
    PageUtils queryPage(Map<String, Object> params);

    /**
     * 获取运费
     * @param addrId 会员收货地址ID
     */
    FareVO getFare(Long addrId);
}

